SftTree/OCX 7.0

SftTreeCell.Edit Method

Softel vdm, Inc.

Edits the cell.

Syntax       

VB.NET

object.Edit(ByVal Window As Integer, ByVal vData As Object)

VB

object.Edit(ByVal Window As OLE_HANDLE, ByVal vData As Variant)

C#.NET

void object.Edit(int Window, object vData);

VC++

HRESULT object->Edit(OLE_HANDLE Window, const _variant_t& vData);

C

HRESULT object->raw_Edit(OLE_HANDLE Window, VARIANT vData);

Delphi

procedure object.Edit(Window : Cardinal, vData : OleVariant);

object

A SftTreeCell object.

Window

A window handle.  Defines the control used for cell editing.  This parameter can be Nothing (NULL) to allow the EditInitializing event to provide the window handle used for cell editing (which is also the preferred method).

vData

An application-specific value.  This value is used as vData parameter for the EditInitializing event.  This parameter can be Nothing (NULL).

Comments

The Edit method edits the cell.

Cell editing is initiated by the subsequent EditInitializing event which is used to position and initialize the control used for cell editing.

The Edit method cannot edit a cell whose Cell.EditIgnore or Item.EditIgnore properties have marked the cell as non-editable or if the EditAllowed event indicates that the cell cannot be reached during cell editing

See Also  SftTreeCell Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com